from selenium.webdriver.common.by import By

from common.base_page import BasePage


br=BasePage()
br.driver.maximize_window()
br.driver.implicitly_wait(10)
br.driver.get('http://localhost/ecshop/user.php')
username_input=(By.ID,'username')
br.input(username_input,'13800138006','登录模块_登录功能_用户名输入操作')
password_input=(By.ID,'password')
br.input(password_input,'123456','登录模块_登录功能_密码输入操作')
button=(By.NAME,'sbtbutton')
br.click(button,'登录模块_登录功能_点击操作')





